﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AQK_XXCFTWO.aspx.cs" Inherits="TONLI.TJOA.Anquan.AQK_XXCFTWO" %>

<%@ Register Assembly="DevExpress.Web.ASPxEditors.v7.3, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v7.3, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v7.3.Export, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxGridView.Export" TagPrefix="dxwgv" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table width="600px"><tr><td style="width: 110px; height: 21px">
                    <dxe:ASPxDateEdit ID="ASPxDateEdit1" runat="server"  Width="120px">
                    </dxe:ASPxDateEdit></td>
                <td style="width: 110px; height: 21px">
                    <dxe:ASPxDateEdit ID="ASPxDateEdit2" runat="server" Width="120px">
                    </dxe:ASPxDateEdit>
                </td>
                <td style="width: 80px">
    <dxe:ASPxButton ID="ASPxButton1" runat="server" CssFilePath="~/App_Themes/Office2003 Blue/{0}/styles.css"
        CssPostfix="Office2003_Blue" Text="查询" Width="60px" OnClick="ASPxButton1_Click">
    </dxe:ASPxButton>
</td><td class="STYLE1" style="width: 46px; height: 14px">
            <dxe:ASPxButton ID="ASPxButton2" runat="server" CssFilePath="~/App_Themes/Office2003 Blue/{0}/styles.css"
        CssPostfix="Office2003_Blue" Text="导出" OnClick="ASPxButton2_Click" Width="64px">
    </dxe:ASPxButton></td></tr></table>
    <dxwgv:ASPxGridView ID="ASPxGridView1" CssFilePath="~/App_Themes/Office2003 Blue/{0}/styles.css" SettingsPager-PageSize="30" CssPostfix="Office2003_Blue" runat="server" DataSourceID="ObjectDataSource1" AutoGenerateColumns="False"  Width="655px" KeyFieldName="SUID" ClientInstanceName="grid" EnableTheming="False" OnRowUpdating="ASPxGridView1_RowUpdating">
            <SettingsText Title="二次分配奖罚明细表" />
            <Settings ShowTitlePanel="True" ShowFilterRow="True" ShowFooter="True"   />            
            <Columns>
                <dxwgv:GridViewDataTextColumn Caption="序号" FieldName="INDEX_"
                    VisibleIndex="0" Width="30px">
                    <EditFormSettings Visible="False" />
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="代码" FieldName="COL3"
                    VisibleIndex="1" Width="60px">
                    <EditFormSettings Visible="False" />
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="车间" FieldName="DWMC"
                    VisibleIndex="2" Width="150px">
                    <EditFormSettings Visible="true" />
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="姓名" FieldName="USERNAME"
                    VisibleIndex="3" Width="60px">
                    <EditFormSettings Visible="False" />
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="班组" FieldName="BZMC"
                    VisibleIndex="4" Width="60px">
                    <EditFormSettings Visible="False" />
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="岗位" FieldName="GWMC"
                    VisibleIndex="5" Width="60px">
                    <EditFormSettings Visible="False" />
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="身份" FieldName="COL4"
                    VisibleIndex="7" Width="60px">
                    <EditFormSettings Visible="False" />
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="罚款" FieldName="KJE1" VisibleIndex="8" Width="60px">
                    <EditFormSettings Visible="False" />
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="奖励" FieldName="KJE2" VisibleIndex="9" Width="60px">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewCommandColumn VisibleIndex="10">
                    <ClearFilterButton Visible="True" Text="消除条件">
                    </ClearFilterButton>
                    <EditButton Text="编辑" Visible="true">
                    
                    </EditButton>
                    <UpdateButton Text="保存"></UpdateButton>
                    <CancelButton Text="取消"></CancelButton>
                </dxwgv:GridViewCommandColumn>
                
            </Columns>            
        <Styles CssFilePath="~/App_Themes/Office2003 Blue/{0}/styles.css" CssPostfix="Office2003_Blue">
        </Styles>
        
        <TotalSummary>
        <dxwgv:ASPxSummaryItem DisplayFormat="总计 " ShowInColumn="车间" SummaryType="Sum"
                                FieldName="DWMC" />
        <dxwgv:ASPxSummaryItem FieldName="KJE1" DisplayFormat="##0" ShowInColumn="罚款" SummaryType="Sum"/>
        <dxwgv:ASPxSummaryItem FieldName="KJE2" DisplayFormat="##0" ShowInColumn="奖励" SummaryType="Sum"/>
        </TotalSummary>
        </dxwgv:ASPxGridView>
    </div>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server"   SelectMethod="GetAQK_XXJKHBZlist4" TypeName="TONLI.TJOA.Anquan.AQK_LJ_Manage">
                       
         <SelectParameters>
                <asp:SessionParameter Name="a" SessionField="AQK_XXCFTWO" />
            </SelectParameters>   
        </asp:ObjectDataSource>
        <dxwgv:ASPxGridViewExporter id="ASPxGridViewExporter1" runat="server" FileName=""
            GridViewID="ASPxGridView1">
        </dxwgv:ASPxGridViewExporter>
    </form>
</body>
</html>
